<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
	String curM = CommUtil.NVL(request.getParameter("m"),"");
%>    

<%@page import="comm.util.CommUtil"%>
<div id="topMenuLayer">
	<ul>
		<li>
			<a id="menuStyle" href="<%=request.getContextPath()%>/Style" <%=curM.equals("Style")?"class='colorBlack'":""%>>Style</a>
		</li>
		<li>
			<a id="menuCommunity" href="<%=request.getContextPath()%>/Community" <%=curM.equals("Community")?"class='colorBlack'":""%>>Community</a>
		</li>
		<li>
			<a id="menuShop" href="<%=request.getContextPath()%>/Shop" <%=curM.equals("Shop")?"class='colorBlack'":""%>>Shop</a>
		</li>
		<li>
			<a id="menuAbout" href="<%=request.getContextPath()%>/About" <%=curM.equals("About")?"class='colorBlack'":""%>>About daco</a>
		</li>
	</ul>
	
	<div id="topSearchLayer">
		<form action="http://<%=request.getServerName() %><%=request.getContextPath() %>/Search" method="post" onsubmit="return checkSearchQuery();">
			<input type="text" name="q" id="searchQuery" value="<%=CommUtil.NVL(request.getParameter("q"),"")%>" />
			<input type="image" src="<%=request.getContextPath()%>/images/btnSearch.png" title="Search"/>
		</form>
	</div>
	<div class="clear"></div>
</div>

